/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package config.Models;

import config.ConfigMacros;
import java.util.HashMap;
import java.util.Map;
import libCore.Util;

/**
 *
 * @author Mrkupi
 */
public class Conf_ItemGroup {
    
    public Map<String, Conf_ItemGroup_item> groupItems;
    
    public Conf_ItemGroup(Map<String, Object> obj) {
        
        groupItems      =   new HashMap<String, Conf_ItemGroup_item>();
        
        for (Map.Entry<String, Object> entry : obj.entrySet()) {
            String string = entry.getKey();
            Object object = entry.getValue();

            Conf_ItemGroup_item confGroupItem = new Conf_ItemGroup_item(Util.obj2Map(object));

            groupItems.put(string, confGroupItem);
        }
    }
}
